package models;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import play.db.jpa.Model;

@Entity
@Table(name = "back_book")
public class BackBook extends Model {

	@Column(name = "indnum",length= 50)
	public String indnum ;
	
	@Column(name = "pName",length=50)
	public String pName ;
	
	@Column(name = "memid")
	public Long memid ;
	
	@Column(name = "telphone",length=22)
	public String telphone ;
	
	@Column(name = "moilephone",length=11)
	public String moilephone;
	
	@Column(name = "addree1",length=150)
	public String addree1 ;
	
	@Column(name = "addree2",length=150)
	public String addree2 ;
	
	@Column(name = "remark",length=300)
	public String remark ; //备注
	
	@Column(name = "state")
	public int state ; //0未还1已还2处理中3未处理
	
	@Column(name = "ctime")
	public Date ctime ;
	
	@Column(name = "book_magecase",length=300)
	public String bookdamagecase;
	

	
}
